<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>regist page</title>
		<link rel="stylesheet" href="styles/style.css" type="text/css" />
		<script src="scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
		<script src="scripts/jquery.select.js" type="text/javascript"></script>
		<script src="scripts/tools.js" type="text/javascript"></script>
		<script src="scripts/script.js" type="text/javascript"></script>
	</head>
	<body>
		<div id="container">
			<div id="header">
				<%@include file="header.jsp" %>
			</div>
			<div id="content">
				<div style="margin-left:35px;margin-right:35px;">
					<div>
						Location：<a href="index.jsp">Home</a> &gt; User Register
					</div>
					<div style="border:solid 1px Gray;padding:40px 100px 40px 100px;">
							<div style="margin-left:80px;">
								User Regist
								<table>
									<tr>
										<td>Username:<input type="text" id="username" class="txtinput" /></td>
										<td><div id="username_tip" class="tip">* username can't be empty</div></td>
									</tr>
									<tr>
										<td>Password:<input type="password" id="password"  class="txtinput"/></td>
										<td><div id="password_tip" class="tip">* password can't be empty</div></td>
									</tr>
									<tr>
										<td>&nbsp;&nbsp;&nbsp;Confirm:<input type="password" id="confirm"  class="txtinput"/></td>
										<td><div id="confirm_tip" class="tip">* confirm should be equal to password</div></td>
									</tr>
									<tr>
										<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Email:<input type="text" id="idcard"  class="txtinput"/></td>
										<td><div id="idcard_tip" class="tip">* email is not correct</div></td>
									</tr>
									<tr>
										<td colspan="2"><input type="button" id="regist" class=" btn" style="margin-left:50px;margin-top:8px;" value="regist" onclick="regist();"/></td>
									</tr>
								</table>
							</div>
					</div>
				</div>
				<div id="categorys">
					<%@include file="footer.jsp" %>
				</div>
			</div>
		</div>
	</body>
</html>
	